package com.xinminda.dcf.ui.personal.contract;

import com.xinminda.dcf.bean.UserBean;
import com.xinminda.dcf.ui.base.BaseModel;
import com.xinminda.dcf.ui.base.BasePresenter;
import com.xinminda.dcf.ui.base.BaseView;
import rx.Observable;

public interface LoginContract {
    interface Model extends BaseModel {
        Observable<UserBean> getLoginData(String header, String params);
    }

    interface View extends BaseView {
        void returnLoginData();
    }

    abstract static class Presenter extends BasePresenter<View, Model> {
        public abstract void getLoginRequest(String header, String params);
    }
}
